package com.liwy3.account;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Copyright © 元气森林（北京）食品科技集团有限公司. All rights reserved.
 *
 * @Description:
 * @author: Crazy4J
 * @date: 2022年02月24日 15:26
 * @version: V1.0
 */
@SpringBootApplication(scanBasePackages = {"com.liwy3"})
@EnableTransactionManagement(proxyTargetClass = true)
@EnableFeignClients(basePackages = {"com.liwy3"})
@EnableDiscoveryClient
@MapperScan("com.liwy3.account.mapper")
public class AccountApplication {
    public static void main(String[] args) {
        SpringApplication.run(AccountApplication.class, args);
    }
}
